﻿using System;

namespace edowork.com.Model
{
    #region areaInfo

    [Serializable]
    public class areaInfo
    {
        #region Private fields

        protected string _warehouseid = String.Empty;
        protected string _areaid = String.Empty;
        protected string _areaname = String.Empty;
        protected string _sysdate = String.Empty;

        #endregion

        public areaInfo() { }

        #region Public Properties

        public string Warehouseid
        {
            get { return _warehouseid; }
            set { _warehouseid = value; }
        }

        public string Areaid
        {
            get { return _areaid; }
            set { _areaid = value; }
        }

        public string Areaname
        {
            get { return _areaname; }
            set { _areaname = value; }
        }

        public string Sysdate
        {
            get { return _sysdate; }
            set { _sysdate = value; }
        }

        #endregion

        #region Public SQL Script

        public string SQL_Insert()
        {
            return "insert into area(Warehouseid,Areaid,Areaname,Sysdate) values('{0}','{1}','{2}','{3}')";
        }

        #endregion

    }

    #endregion
}

